package cn.edu.tjufe.llp.tin.service.part04;

import java.time.LocalDate;
import java.util.List;

import cn.edu.tjufe.llp.tin.dto.part04.BookDto;

public interface BookService {
	
	BookDto selectById(Long id);

	List<BookDto> selectList(String name, String author, String publisher, LocalDate begin, LocalDate end);

	long insert(BookDto book);

	long update(BookDto book, Long id);

	int deleteById(Long id);

	int deleteByIds(Long[] ids);
}
